home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8385 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: redstone.interpath.net!mercury!softbase
  2. From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Tradition or what?
  5. Date: 3 Mar 1996 22:35:05 GMT
  6. Organization: Interpath -- Providing Internet access to North Carolina
  7. Message-ID: <4hd6qp$huo@news.interpath.net>
  8. References: <4g0elg$mdr@redstone.interpath.net> <4h0bbo$c0q@fohnix.metronet.com> <4h7ce0$ojd@news.interpath.net> <4h85sm$lm0@texas.nwlink.com>
  9. NNTP-Posting-Host: mercury.interpath.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Teresa Reiko (tjr19@mail.nwlink.com) wrote:
  13.  
  14. : In this book and others, notably 'Code Complete', these programming
  15. : guides published by Microsoft Press, it is evident why Microsoft put
  16. : so many bugs in Windows 95.  Here are the three worst Microsoft
  17. : coding rules, in my opinion at least:
  18.  
  19. : Every line of code must contain a comment.
  20. : Any number greater than 2 must be a named constant.
  21. : No procedure may be longer than 25 lines.
  22.  
  23. Which books did you read? #1 is refuted in Code Complete; #2 is actually
  24. a useful rule (it's bitten me before!); and #3 isn't specifically proscribed
  25. in any of the books that I can remember. A heuristic is offered, but
  26. that's all.
  27.  
  28. Scott
  29.  
  30.